package com.woniu.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ServeWorkOrder implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer wid;
    private String workordernumber;//工单号
    private String serveproject;//服务项目
    private BigDecimal actualpayment;//实际付款
    private String sendordertime;//派单时间
    private String endtime;//工单结束时间
    private String state;//工单状态
    private Integer oid;//订单id
    private Integer pid;//服务人员id
    private Integer cid;//客户id
    @TableLogic
    private Integer del;//逻辑删除
    @TableField(exist = false)
    private DealOrder dealOrder;//订单对象
    @TableField(exist = false)
    private ServePerson servePerson;//服务人员对象
}
